package com.cskaoyan.bean.vo.wx.coupon;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author by yxy_8175@163.com
 * @Description TODO
 * @Date 2022-11-22 11:15
 */

@Data
public class WxUserCouponVo {

    private Integer id;

    private Integer cid;

    private BigDecimal min;

    private String name;

    private BigDecimal discount;

    private String tag;

    private String desc; // 描述

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date endTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;

    private Boolean available;
}
